import { createApp } from "vue";
import { message } from "./keys.js";
import App from "./App.vue";
import TsHome from "./components/TsHome.vue";
const app = createApp(App);
app.config.errorHandler = (err) => {
  /*处理错误*/
  console.log(err);
};
// 注册组件
app.component("TsHome", TsHome);
app.provide(message, "hello vue3");
app.mount("#app");
